package vn.sunnet.game.SinhTon;

import vn.sunnet.game.SinhTon.Interface.IDialogAndroid;
import vn.sunnet.game.SinhTon.Interface.IRequestHandler;
import vn.sunnet.game.SinhTon.screen.MyGame;

import com.badlogic.gdx.assets.AssetManager;
import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;
import com.rey.libgdx.ResourceFileHandleResolver;

public class Main {
	public static void main(String[] args) {
		LwjglApplicationConfiguration cfg = new LwjglApplicationConfiguration();
		cfg.title = "Sinh Ton";
		cfg.useGL20 = true;
		cfg.width = 800;
		cfg.height = 480;
		
		new LwjglApplication(new MyGame(new IDialogAndroid() {
			
			@Override
			public void showToast(String str) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void onViewHightScore() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void onShare() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void onInfo() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void onExit() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void onDownload() {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void confirmBuyCoins() {
				// TODO Auto-generated method stub
				
			}

			@Override
			public void notEnoughtCoin() {
				// TODO Auto-generated method stub
				
			}
		}, new IRequestHandler() {
			
			@Override
			public void setVisibleAdmod(boolean flag) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void sendScore(int score) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void putString(String key, String value) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void putInteger(String key, int value) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public void putBoolean(String key, boolean value) {
				// TODO Auto-generated method stub
				
			}
			
			@Override
			public String getString(String key, String value) {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public int getInteger(String key, int value) {
				// TODO Auto-generated method stub
				return 0;
			}
			
			@Override
			public AssetManager getHandleContext() {
				// TODO Auto-generated method stub
				return null;
			}
			
			@Override
			public boolean getBoolean(String key, boolean value) {
				// TODO Auto-generated method stub
				return false;
			}

			@Override
			public void trackStartLevel(int level) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public void trackEndLevel(int level, int score) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public void trackBuyItem(int coin, int itemId, int level) {
				// TODO Auto-generated method stub
				
			}

			@Override
			public ResourceFileHandleResolver getResolver() {
				// TODO Auto-generated method stub
				return null;
			}
		}), cfg);
	}
}
